﻿Public Class cargoBO


    Dim cargo As New cargoDAO


    Public Function getCargos() As Generic.List(Of cargoVO)

        Try

            Return cargo.getCargos

        Catch ex As Exception

            Throw ex

        End Try


    End Function


    Public Function getCargo(ByVal id_cargo As Integer) As cargoVO
        Try

            Return cargo.getCargo(id_cargo)

        Catch ex As Exception

            Throw ex

        End Try


    End Function

End Class
